package cn.codergege.demo.dao;

import cn.codergege.demo.domain.Department;

import java.util.List;

public interface DepartmentRepository {
    //c
    void add(Department department);
    //r
    List<Department> findAll();
    Department getDepartmentById(Integer id);
    //u
    //d
}
